//
//  CalculatorViewController.h
//  MagicBox
//
//  Created by dllo on 16/8/22.
//  Copyright © 2016年 dllo. All rights reserved.
//
#import <Foundation/Foundation.h>


@interface TSStack : NSObject
{
    int count_;
    NSMutableArray *array_;
    NSMutableString *allElementString_;
}

@property(atomic,readonly) int count;
@property(nonatomic,retain)  NSMutableString *allElementString;


-(void)push:(id)anObject;
-(NSString *)pop;
-(void)clear;
-(BOOL)contains:(id)anObject;
-(id)peek;

@end
